package cn.edu.zut.DAO;

import cn.edu.zut.model.Course;
import cn.edu.zut.model.Student;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface StudentDAO {

    void insertStudent(Student student);
    void insertAll(List<Student> studentList);

    void deleteStudent(Student student);
    void deleteAll(List<Student> studentList);
    void deleteBySno(char Sno);

    void modifyStudent(Student student);
    void modifySumCredit(Student student);

    Student queryOneStudentBySno(char Sno);

    Student queryOneStudent(Student student);
    List<Student> queryAllStudent();


}
